//=====================================================
//			 		          XYZ.h
//		           Header da classe XYZ
//  		   Arquivo criado em 12/12/2010
//		     Microsoft Visual Studio C++ 2008
//
//				     Thiago Bragante Macedo
//              tmacedo29@gmail.com
//=====================================================

#ifndef  XYZ_H
#define  XYZ_H

/// @class XYZ
///
/// @brief This class will be the base for all position
///        "necessities".
/// NOTE: It's being used FLOAT instead of DOUBLE to grant
///        no memory "expenses"
class XYZ
{
  private:
    unsigned char valid;
    float pos[3];
  
  public:
    XYZ ();
    XYZ ( const float&, const float&, const float& );
    void SetX  ( const float& );
    void SetY  ( const float& );
    void SetZ  ( const float& );
    void Coord ( const float&, const float&, const float& );
    const XYZ&  Coord ( void );
    const float X(void) const;
    const float Y(void) const;
    const float Z(void) const;
};

#endif

